<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/commons/include/html_doctype.html" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@include file="/commons/page/codegen.jsp" %>
		<script type="text/javascript" src="${ctx}/js/gpoint/rdp/zoneCTL/doorController.js"></script>
		<style>
		    .doorinfo{
		        margin-top: 150px;
			    width: 95%;
			    text-align: left;
			    margin-left: 55px;		    
		    }
		    
		    
		    .dwh {
			    border: 1px solid #80808052;
			    text-align: center;
			    background-color: #80808024;
			}
			
			.ic {
			    display: inline-block;
			    width: 60px;
			    height: 25px;
			    vertical-align: middle;
			    margin-top: 5px;
			}
			.mycheckbox{
			    width: 25px;
			}
		</style>
	</head>
	<body>
		<div class="panel-toolbar ">
			<div class="buttons">
				<a href="javascript:void(0);" class="btn btn-primary fa fa-save" ><span>保存</span></a>
				<a href="list.htm" class="btn btn-primary fa fa-back" ><span>返回</span></a>
			</div>
		</div>
		<!-- 顶部按钮 -->
		
		<div class="wrapper wrapper-content  animated fadeInRight col-sm-12">
			<div class="">
				<form  class="fr-form" method="post" enctype='application/json' id="doorControllerForm" action="save.htm" >
					<input type="hidden" name="m:doorController:controllerid"  value="${doorController.controllerid}"/>
					<input type="hidden" name="m:doorController:servicecode"  value="${doorController.servicecode}"/>
					<input type="hidden" name="m:doorController:editflag"  value="1"/>
							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">产品序列号</label>
								  	<div class="fr-form-block" data-type="fixed">
								         <input type="text" class="fr-form-control" id="ctlno"  name="m:doorController:controllersn" value="${doorController.controllersn}" validate="{required:true}"  onchange="upperCase(this.id)"/>				  					
								 	</div>
							  	</div>
							</div>
							
							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">控制器名称</label>
								  	<div class="fr-form-block" data-type="fixed">
								         <input type="text" id="controllerName" class="fr-form-control"  name="m:doorController:controllerno" value="${doorController.controllerno}"  validate="{required:true}"  onchange="setDoorsName();"/>				  					
								 	</div>
							  	</div>
							</div>

							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">IP地址</label>
								  	<div class="fr-form-block" data-type="fixed">
								          <input type="text" id="ipa" class="fr-form-control" name="m:doorController:ipa" value="${doorController.ipa}" validate="{required:true}"/>				  					
								 	</div>
							  	</div>
							</div>
							
							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">端口号</label>
								  	<div class="fr-form-block" data-type="fixed">
								        <input type="number" id="port" class="fr-form-control" name="m:doorController:port" value="${doorController.port}" validate="{required:true}"/> 					
								 	</div>
							  	</div>
							</div>
							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">子网掩码</label>
								  	<div class="fr-form-block" data-type="fixed">
								          <input type="text" id="submask" class="fr-form-control" name="m:doorController:submask" value="${doorController.submask}" validate="{required:true}"/>				  					
								 	</div>
							  	</div>
							</div>
							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">网关</label>
								  	<div class="fr-form-block" data-type="fixed">
								          <input type="text" id="gateway" class="fr-form-control" name="m:doorController:gateway" value="${doorController.gateway}" validate="{required:true}"/>				  					
								 	</div>
							  	</div>
							</div>
							
						   <div class="fr_response_field col-sm-4">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid" type="hidden"   id="hid_zoneid" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#hid_zoneid" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>
							 	
							 	
							<div class="fr_response_field col-sm-4" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">备注</label>
								  	<div class="fr-form-block" data-type="fixed">
								<input type="text" class="fr-form-control" name="m:doorController:note" value="${doorController.note}" validate="{required:false}"/>
								  					
								 	</div>
							  	</div>
							</div>
							 	 
		
						    <input  type="hidden"  id="doorsnamesx" name="m:doorController:doorsnames" value="${doorController.doorsnames}" validate="{required:true}"/>				  					

							
							<div class="fr_response_field col-sm-2" >
							 	<div class="fr-form-group"> 
								 	<label class="fr-control-label">启用</label>
								  	<div class="fr-form-block" data-type="fixed">
								          <input  type="checkbox" id="cbCheckbox1"  class="fr-form-control" name="m:doorController:enabled" value="1" style = "width:20px;" validate="{required:false}"/>				  					
								 	</div>
							  	</div>
							</div>						                        
				</form>

			</div>
		</div>
			  	
	<script type="text/javascript" >
		
			function openDialog(){
			    	
				  var iwidth = 1000;
				  var iheight = 500;
				  var itop = (window.screen.availHeight-iheight)/2;       //获得窗口的垂直位置;
				  var ileft = (window.screen.availWidth-iwidth)/2;      //获得窗口的水平位置; 		   		   
				  win = window.open(
						"http://127.0.0.1:8083/rdp/zoneCTL/doorZone/list2.htm", 
						"区域管理", 
						"status=no,location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,top="+itop+",left="+ileft+",width="+iwidth+",height="+iheight
				   );   
			 }
		 
			 function upperCase(x)
			 {
				 
				 var sn = $("#ctlno").val();
				 if (sn.startsWith("1")) {					 
					$("#doorInfo").show();
					$("#menu_item1").show();
					$("#menu_item2").hide();
					$("#menu_item3").hide();					
				 }
				 else if (sn.startsWith("2")) {
					 $("#doorInfo").show();
					 $("#menu_item1").hide();
					 $("#menu_item2").show();
					 $("#menu_item3").hide();										 
				 }
				 else if (sn.startsWith("4")) {
					 $("#doorInfo").show();
					 $("#menu_item1").hide();
					 $("#menu_item2").hide();
					 $("#menu_item3").show();
				 }	
				 else{
					 $("#doorInfo").hide();
				 }			 
			 }
			 
			 function setDoorsName()
			 {
				 var sn = $("#ctlno").val();
				 var controllerName = $("#controllerName").val();
				 if (sn.startsWith("1")) {	
					var title = $("#doorsnames11").attr("title");
					$("#doorsnames11").val(controllerName+"_"+title);
				
				 }
				 else if (sn.startsWith("2")) {
						var title = $("#doorsnames21").attr("title");
						$("#doorsnames21").val(controllerName+"_"+title);
						var title = $("#doorsnames22").attr("title");
						$("#doorsnames22").val(controllerName+"_"+title);	
				 }
				 else if (sn.startsWith("4")) {
						var title = $("#doorsnames41").attr("title");
						$("#doorsnames41").val(controllerName+"_"+title);
						var title = $("#doorsnames42").attr("title");
						$("#doorsnames42").val(controllerName+"_"+title);	
						var title = $("#doorsnames43").attr("title");
						$("#doorsnames43").val(controllerName+"_"+title);
						var title = $("#doorsnames44").attr("title");
						$("#doorsnames44").val(controllerName+"_"+title);	
				 }	
			 
			 }
			 
			 
			 
			 
			 			
		</script>
		
		
		<div id = "doorInfo" class="panel panel-default doorinfo" style="display:none">
			  <div class="panel-heading">门信息</div>
			  <div class="panel-body">
			            
						<div style="display:none" id="menu_item1">
						        
							 	<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">1号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	    <input id ="doorsid11"  type="hidden" value="${doorController.doors.get(0).doorid}"/>
									        <input type="text"  title="1号门" class="fr-form-control door" id="doorsnames11" name="m:doorController:doorsnames" value="" validate="{required:false}"/>				
									 	</div>
								  	</div>
								</div>	
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl11" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl11" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl11" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay11" value="3"/>				  					
									 	</div>
								  	</div>
								</div>
																	
							    <div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">进门</label>
									  	<div class="fr-form-block" data-type="fixed">
									       <input type="checkbox" class="fr-form-control mycheckbox" id="doors111" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>					  					
									 	</div>
								  	</div>
								</div>	 
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">出门</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="checkbox" class="fr-form-control mycheckbox" id="doors112" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								</div>	 
								
									<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid11" type="hidden"   id="zoneid11" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid11" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>				
						 </div>
							
							
						<div style="display:none" id="menu_item2" name="form" method="post" action=""> 
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">1号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	    <input id ="doorsid21"  type="hidden" value="${doorController.doors.get(0).doorid}"/>
									        <input type="text" title="1号门" class="fr-form-control door" id="doorsnames21" name="m:doorController:doorsnames" value="" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								</div>	
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl21" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl21" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl21" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay21" value="3"/>				  					
									 	</div>
								  	</div>
								</div>
																 
								<div class="fr_response_field col-sm-2"  >
									 	<div class="fr-form-group"> 
										 	<label class="fr-control-label">进门</label>
										  	<div class="fr-form-block" data-type="fixed">
										        <input type="checkbox" class="fr-form-control mycheckbox" id="doors211" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
										 	</div>
									  	</div>
								</div>	 
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">出门</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="checkbox" class="fr-form-control mycheckbox" id="doors212" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				
									 	</div>
								  	</div>
								</div>	 
								
								<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid21" type="hidden"   id="zoneid21" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid21" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>	
							
							<br>
								 	<div class="fr-form-group col-sm-2"> 
									 	<label class="fr-control-label">2号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	   <input id ="doorsid22"  type="hidden" value="${doorController.doors.size()==2?doorController.doors.get(1).doorid:''}"/>
									        <input type="text" title="2号门" class="fr-form-control door" id="doorsnames22" name="m:doorController:doorsnames" value="${doorController.doors.size()==2 ? doorController.doors.get(1).doorname:''}" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl22" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl22" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl22" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay22" value="3"/>				  					
									 	</div>
								  	</div>
								</div> 
								<div class="fr_response_field col-sm-2"  >
									 	<div class="fr-form-group"> 
										 	<label class="fr-control-label">进门</label>
										  	<div class="fr-form-block" data-type="fixed">
										        <input type="checkbox" class="fr-form-control mycheckbox" id="doors221" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
										 	</div>
									  	</div>
								</div>	 
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">出门</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="checkbox" class="fr-form-control mycheckbox" id="doors222" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				
									 	</div>
								  	</div>
								</div>	 						
								
								<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid22" type="hidden"   id="zoneid22" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid22" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>	
							
								
																	
						</div>
						
						 <div style="display:none" id="menu_item3" name="form" method="post" action="">
							 	<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">1号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	   <input id ="doorsid41"  type="hidden" value="${doorController.doors.get(0).doorid}"/>
									        <input type="text" title="1号门" class="fr-form-control door" id="doorsnames41" name="m:doorController:doorsnames" value="" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								</div>
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl41" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl41" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl41" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay41" value="3"/>				  					
									 	</div>
								  	</div>
								</div> 	 
								<div class="fr_response_field col-sm-2"  >
									 	<div class="fr-form-group"> 
										 	<label class="fr-control-label">进门</label>
										  	<div class="fr-form-block" data-type="fixed">
										        <input type="checkbox" class="fr-form-control mycheckbox" id="doors411" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
										 	</div>
									  	</div>
								</div>
								
								
								
									<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid41" type="hidden"   id="zoneid41" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid41" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>	
							
							
								
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">2号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	    <input id ="doorsid42"  type="hidden" value="${doorController.doors.get(1).doorid}"/>
									        <input type="text" title="2号门" class="fr-form-control door" id="doorsnames42" name="m:doorController:doorsnames" value="" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								</div>
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl42" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl42" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl42" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay42" value="3"/>				  					
									 	</div>
								  	</div>
								</div> 	 
								<div class="fr_response_field col-sm-2"  >
									 	<div class="fr-form-group"> 
										 	<label class="fr-control-label">进门</label>
										  	<div class="fr-form-block" data-type="fixed">
										        <input type="checkbox" class="fr-form-control mycheckbox" id="doors421" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
										 	</div>
									  	</div>
								</div>	
								
									<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid42" type="hidden"   id="zoneid42" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid42" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>	
							
							
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">3号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	    <input id ="doorsid43"  type="hidden" value="${doorController.doors.get(2).doorid}"/>
									        <input type="text" title="3号门" class="fr-form-control door" id="doorsnames43" name="m:doorController:doorsnames" value="" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								</div>	
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl43" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl43" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl43" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay43" value="3"/>				  					
									 	</div>
								  	</div>
								</div>  
								<div class="fr_response_field col-sm-2"  >
									 	<div class="fr-form-group"> 
										 	<label class="fr-control-label">进门</label>
										  	<div class="fr-form-block" data-type="fixed">
										        <input type="checkbox" class="fr-form-control mycheckbox" id="doors431" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
										 	</div>
									  	</div>
								</div>	
								
												
							<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid43" type="hidden"   id="zoneid43" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid43" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>	
							
							
							
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">4号门</label>
									  	<div class="fr-form-block" data-type="fixed">
									  	    <input id ="doorsid44"  type="hidden" value="${doorController.doors.get(3).doorid}"/>
									        <input type="text" title="4号门" class="fr-form-control door" id="doorsnames44" name="m:doorController:doorsnames" value="" validate="{required:false}"/>				  					
									 	</div>
								  	</div>
								</div>	
								<div class="fr_response_field col-sm-3"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">控制方式</label>
									  	<div class="fr-form-block dwh" data-type="fixed" >			
									        <div class="ic"><input type="radio"  name="ctrl44" value="3" checked='checked'>在线</div> 
											<div class="ic"><input type="radio"  name="ctrl44" value="1">常开</div> 
											<div class="ic"><input type="radio"  name="ctrl44" value="2">常闭</div>								        			  					
									 	</div>
								  	</div>
								</div>
								
								<div class="fr_response_field col-sm-2"  >
								 	<div class="fr-form-group"> 
									 	<label class="fr-control-label">开门延时(s)</label>
									  	<div class="fr-form-block" data-type="fixed">
									        <input type="number"  class="fr-form-control" id="delay44" value="3"/>				  					
									 	</div>
								  	</div>
								</div>  
								<div class="fr_response_field col-sm-2"  >
									 	<div class="fr-form-group"> 
										 	<label class="fr-control-label">进门</label>
										  	<div class="fr-form-block" data-type="fixed">
										        <input type="checkbox" class="fr-form-control mycheckbox" id="doors441" name="m:doorController:doorsnames" value="1" validate="{required:false}"/>				  					
										 	</div>
									  	</div>
								</div>	   

									<div class="fr_response_field col-sm-2">
								<div class="fr-form-group">
									<label class="fr-control-label">所在区域</label>
									<div class="fr-form-block" data-type="fixed">
									    <input name="m:doorController:zoneid44" type="hidden"   id="zoneid44" value="${doorController.zoneid}"/>						    					
									    <input type="text" data-key="#zoneid44" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" value="${doorController.zonename}"  validate="{required:true}"/>
									</div>
								</div>
							</div>	
											
						</div>

			  </div>
		</div>
		
		
		
		
		
		
       
		
		
	</body>
</html>